package com.neuedu.dao;

import java.util.List;
import java.util.Map;

import com.neuedu.model.Device;
import com.neuedu.model.Laws;

public interface DeviceDao {
	public int countDevice();
	public List<Device> findAll(Map<String, Object> map);
	public int addDevice(Device u);
	public int updateDevice(Device u);
	public int deleteDevice(int id);
	//查询单条数据
	public Device findOne(int id);
}
